.class public Lcom/esfile/screen/recorder/picture/PictureListFragment;
.super Lcom/esfile/screen/recorder/base/BaseFragment;
.source "PictureListFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/picture/PictureListFragment$k;,
        Lcom/esfile/screen/recorder/picture/PictureListFragment$m;,
        Lcom/esfile/screen/recorder/picture/PictureListFragment$j;,
        Lcom/esfile/screen/recorder/picture/PictureListFragment$l;,
        Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;
    }
.end annotation


# instance fields
.field private c:Landroid/view/View;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/view/View;

.field private h:Lcom/esfile/screen/recorder/ui/DuEmptyView;

.field private i:Lcom/esfile/screen/recorder/ui/NoPermissionView;

.field private j:Landroidx/recyclerview/widget/RecyclerView;

.field private k:Lcom/esfile/screen/recorder/picture/PictureListFragment$l;

.field private l:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/provider/entity/ImageInfo;",
            ">;"
        }
    .end annotation
.end field

.field private m:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/provider/entity/ImageInfo;",
            ">;"
        }
    .end annotation
.end field

.field private final n:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/provider/entity/ImageInfo;",
            ">;"
        }
    .end annotation
.end field

.field private o:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/picture/PictureListFragment$j;",
            ">;"
        }
    .end annotation
.end field

.field private p:I

.field private q:I

.field private r:I

.field private s:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

.field private t:Landroid/view/LayoutInflater;

.field private u:Landroid/content/BroadcastReceiver;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    .line 5
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    .line 6
    sget-object v0, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->ALL:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->s:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    .line 7
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$g;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$g;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->u:Landroid/content/BroadcastReceiver;

    return-void
.end method

.method private A()V
    .locals 0

    return-void
.end method

.method private B()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l()V

    return-void
.end method

.method private C()V
    .locals 7

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    monitor-enter v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 3
    :goto_0
    :try_start_0
    iget-object v5, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    if-ge v3, v5, :cond_2

    .line 4
    iget-object v5, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v5, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    invoke-virtual {v5}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v5

    .line 5
    invoke-static {v5}, Lcom/esfile/screen/recorder/utils/i;->f(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 6
    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    if-nez v3, :cond_1

    const-string v4, ".gif"

    .line 7
    invoke-virtual {v5, v4}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v4

    if-lez v4, :cond_0

    const/4 v4, 0x1

    goto :goto_1

    :cond_0
    const/4 v4, 0x0

    :cond_1
    :goto_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 8
    :cond_2
    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 9
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_4

    if-eqz v4, :cond_3

    .line 10
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Lcom/esfile/screen/recorder/picture/PictureListFragment$a;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$a;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v1, v0, v2}, Les/ya;->a(Landroid/content/Context;Ljava/util/ArrayList;Les/wb$c;)V

    goto :goto_2

    .line 11
    :cond_3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Lcom/esfile/screen/recorder/picture/PictureListFragment$b;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$b;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v1, v0, v2}, Les/ya;->b(Landroid/content/Context;Ljava/util/ArrayList;Les/wb$c;)V

    goto :goto_2

    .line 12
    :cond_4
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Les/z4;->durec_picture_not_found:I

    invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 13
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->B()V

    :goto_2
    return-void

    :catchall_0
    move-exception v0

    .line 14
    :try_start_1
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_4

    :goto_3
    throw v0

    :goto_4
    goto :goto_3
.end method

.method private D()V
    .locals 5

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    monitor-enter v1

    .line 3
    :try_start_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 4
    invoke-virtual {v3}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/esfile/screen/recorder/utils/i;->f(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 5
    invoke-virtual {v3}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 6
    :cond_1
    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 7
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    new-instance v2, Lcom/esfile/screen/recorder/picture/PictureListFragment$c;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$c;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v1, v0, v2}, Les/ya;->a(Landroid/content/Context;Ljava/util/ArrayList;Lcom/esfile/screen/recorder/picture/n$f;)V

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->w()V

    return-void

    :catchall_0
    move-exception v0

    .line 9
    :try_start_1
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_2

    :goto_1
    throw v0

    :goto_2
    goto :goto_1
.end method

.method private E()V
    .locals 7

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/16 v2, 0xa

    if-ge v1, v2, :cond_0

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v2

    .line 4
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    monitor-enter v1

    const/4 v3, 0x0

    const/4 v4, 0x0

    :goto_0
    if-ge v4, v2, :cond_2

    .line 5
    :try_start_0
    iget-object v5, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 6
    invoke-virtual {v5}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Lcom/esfile/screen/recorder/utils/i;->f(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 7
    invoke-virtual {v5}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 8
    :cond_2
    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 9
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_3

    .line 10
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string v2, "pictureList"

    invoke-static {v1, v0, v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Landroid/content/Context;Ljava/util/ArrayList;Ljava/lang/String;)V

    goto :goto_1

    .line 11
    :cond_3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Les/z4;->durec_picture_not_found:I

    invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 12
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->B()V

    .line 13
    :goto_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->A()V

    return-void

    :catchall_0
    move-exception v0

    .line 14
    :try_start_1
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_3

    :goto_2
    throw v0

    :goto_3
    goto :goto_2
.end method

.method private F()V
    .locals 2

    const-string v0, "PictureListFragment"

    const-string v1, "dypm storagePermissionGranted"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l()V

    return-void
.end method

.method private G()V
    .locals 1

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$f;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$f;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    return-void
.end method

.method private H()V
    .locals 5

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 3
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 4
    invoke-virtual {v2, v4}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 5
    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 6
    :cond_2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    .line 7
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    return-void
.end method

.method private I()V
    .locals 6

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/16 v1, 0xa

    if-ge v0, v1, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 3
    :cond_0
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    .line 4
    :goto_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->f:Landroid/widget/TextView;

    sget v3, Les/z4;->durec_picture_list_stitch:I

    const/4 v4, 0x2

    new-array v4, v4, [Ljava/lang/Object;

    const/4 v5, 0x0

    aput-object v0, v4, v5

    const/4 v0, 0x1

    .line 5
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v4, v0

    .line 6
    invoke-virtual {p0, v3, v4}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/PictureListFragment;Lcom/esfile/screen/recorder/picture/PictureListFragment$l;)Lcom/esfile/screen/recorder/picture/PictureListFragment$l;
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->k:Lcom/esfile/screen/recorder/picture/PictureListFragment$l;

    return-object p1
.end method

.method private a(Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;)V
    .locals 4

    .line 22
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->g:Landroid/view/View;

    sget-object v1, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->LOADING:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    const/16 v2, 0x8

    const/4 v3, 0x0

    if-ne p1, v1, :cond_0

    const/4 v1, 0x0

    goto :goto_0

    :cond_0
    const/16 v1, 0x8

    :goto_0
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    sget-object v1, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->NORMAL:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    if-eq p1, v1, :cond_1

    sget-object v1, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->HALF_EMPTY:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    if-ne p1, v1, :cond_2

    :cond_1
    const/4 v2, 0x0

    :cond_2
    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 24
    sget-object v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->HALF_EMPTY:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    const/4 v1, 0x1

    if-ne p1, v0, :cond_3

    const/4 v0, 0x1

    goto :goto_1

    :cond_3
    const/4 v0, 0x0

    :goto_1
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->f(Z)V

    .line 25
    sget-object v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->NO_PERMISSION:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    if-ne p1, v0, :cond_4

    const/4 v3, 0x1

    :cond_4
    invoke-direct {p0, v3}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->g(Z)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j()V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/PictureListFragment;Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;)V
    .locals 0

    .line 5
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->a(Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/PictureListFragment;Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->a(Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->e(Ljava/lang/String;)V

    return-void
.end method

.method private a(Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;)V
    .locals 5

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 7
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->s:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 9
    sget-object v2, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->ALL:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    const/4 v3, 0x1

    if-ne p1, v2, :cond_3

    .line 10
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 11
    invoke-virtual {v1, v4}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 12
    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->a(Z)V

    .line 13
    :cond_2
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 14
    :cond_3
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->c()Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    move-result-object v2

    if-ne v2, p1, :cond_0

    .line 15
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_4
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_5

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 16
    invoke-virtual {v1, v4}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_4

    .line 17
    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->a(Z)V

    .line 18
    :cond_5
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 19
    :cond_6
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$d;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$d;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {p1, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 20
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    const/4 v0, 0x0

    new-instance v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    invoke-direct {v1}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;-><init>()V

    invoke-virtual {p1, v0, v1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 21
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->t()V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 1

    .line 29
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->k:Lcom/esfile/screen/recorder/picture/PictureListFragment$l;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    if-nez v0, :cond_0

    goto :goto_0

    .line 30
    :cond_0
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$h;

    invoke-direct {v0, p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment$h;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V

    invoke-static {v0}, Les/xc;->a(Ljava/lang/Runnable;)V

    :cond_1
    :goto_0
    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->d(Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 3

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 4
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {p1, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    :goto_0
    if-eqz v1, :cond_2

    .line 5
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m()V

    .line 9
    :cond_2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->G()V

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->t()V

    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->s:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    return-object p0
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->a(Ljava/lang/String;)V

    return-void
.end method

.method private c(Ljava/lang/String;)V
    .locals 1

    const-string v0, ".gif"

    .line 3
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 4
    :cond_0
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$i;

    invoke-direct {v0, p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment$i;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/picture/PictureListFragment;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->p:I

    return p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->b(Ljava/lang/String;)V

    return-void
.end method

.method private d(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/picture/PictureListFragment;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->q:I

    return p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/picture/PictureListFragment;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c(Ljava/lang/String;)V

    return-void
.end method

.method private e(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->u()V

    return-void
.end method

.method private f(Z)V
    .locals 1

    if-eqz p1, :cond_2

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->h:Lcom/esfile/screen/recorder/ui/DuEmptyView;

    if-nez p1, :cond_0

    .line 13
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v0, Les/x4;->durec_empty_view:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/view/ViewStub;

    .line 14
    invoke-virtual {p1}, Landroid/view/ViewStub;->inflate()Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/ui/DuEmptyView;

    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->h:Lcom/esfile/screen/recorder/ui/DuEmptyView;

    .line 15
    sget v0, Les/w4;->durec_no_screenshots:I

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/ui/DuEmptyView;->setIcon(I)V

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 16
    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 17
    :goto_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->s:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    sget-object v0, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->EDIT:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    if-ne p1, v0, :cond_1

    .line 18
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->h:Lcom/esfile/screen/recorder/ui/DuEmptyView;

    sget v0, Les/z4;->durec_picture_list_edit_empty:I

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/ui/DuEmptyView;->setMessage(I)V

    goto :goto_1

    .line 19
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->h:Lcom/esfile/screen/recorder/ui/DuEmptyView;

    sget v0, Les/z4;->durec_picture_list_empty:I

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/ui/DuEmptyView;->setMessage(I)V

    goto :goto_1

    .line 20
    :cond_2
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->h:Lcom/esfile/screen/recorder/ui/DuEmptyView;

    if-eqz p1, :cond_3

    const/16 v0, 0x8

    .line 21
    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V

    :cond_3
    :goto_1
    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->y()V

    return-void
.end method

.method private g(Z)V
    .locals 2

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->i:Lcom/esfile/screen/recorder/ui/NoPermissionView;

    if-nez v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v1, Les/x4;->durec_picture_no_permission_view:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewStub;

    .line 5
    invoke-virtual {v0}, Landroid/view/ViewStub;->inflate()Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/ui/NoPermissionView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->i:Lcom/esfile/screen/recorder/ui/NoPermissionView;

    .line 6
    new-instance v1, Lcom/esfile/screen/recorder/picture/m;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/m;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/NoPermissionView;->setButtonClickListener(Landroid/view/View$OnClickListener;)V

    .line 7
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->i:Lcom/esfile/screen/recorder/ui/NoPermissionView;

    if-eqz p1, :cond_1

    const/4 p1, 0x0

    goto :goto_0

    :cond_1
    const/16 p1, 0x8

    :goto_0
    invoke-virtual {v0, p1}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->v()V

    return-void
.end method

.method private i()V
    .locals 5

    .line 2
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/esfile/screen/recorder/utils/g;->i(Landroid/content/Context;)I

    move-result v0

    .line 3
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Les/v4;->durec_picture_list_image_width:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v1

    .line 4
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Les/v4;->durec_picture_list_image_height:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 5
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    sget v4, Les/v4;->durec_picture_list_image_margin:I

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v3

    iput v3, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->r:I

    mul-int/lit8 v3, v3, 0x4

    sub-int/2addr v0, v3

    .line 6
    div-int/lit8 v0, v0, 0x3

    iput v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->p:I

    mul-int v0, v0, v2

    .line 7
    div-int/2addr v0, v1

    iput v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->q:I

    return-void
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->G()V

    return-void
.end method

.method private j()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    if-eqz v1, :cond_3

    .line 3
    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 4
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 5
    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    const/4 v2, 0x0

    .line 6
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->a(Z)V

    goto :goto_0

    .line 7
    :cond_2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->G()V

    .line 9
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->t()V

    :cond_3
    return-void
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->z()V

    return-void
.end method

.method static synthetic k(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic l(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->d:Landroid/widget/TextView;

    return-object p0
.end method

.method private l()V
    .locals 1

    .line 2
    sget-object v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->LOADING:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->a(Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;)V

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/picture/k;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/k;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v0}, Les/xc;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic m(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->e:Landroid/widget/TextView;

    return-object p0
.end method

.method private m()V
    .locals 7

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 4
    invoke-virtual {v4}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->c()Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    move-result-object v5

    sget-object v6, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->ORIGIN:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    if-ne v5, v6, :cond_1

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 5
    :cond_1
    invoke-virtual {v4}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->c()Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    move-result-object v5

    sget-object v6, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->EDIT:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    if-ne v5, v6, :cond_2

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 6
    :cond_2
    invoke-virtual {v4}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->c()Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    move-result-object v4

    sget-object v5, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->GIF:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    if-ne v4, v5, :cond_0

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 7
    :cond_3
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    .line 8
    sget-object v4, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->ALL:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    iput-object v4, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->a:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    add-int v4, v1, v2

    add-int/2addr v4, v3

    .line 9
    iput v4, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->b:I

    .line 10
    iget-object v4, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 11
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    .line 12
    sget-object v4, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->ORIGIN:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    iput-object v4, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->a:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    .line 13
    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->b:I

    .line 14
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 15
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    .line 16
    sget-object v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->EDIT:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    iput-object v1, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->a:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    .line 17
    iput v2, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->b:I

    .line 18
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 19
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    .line 20
    sget-object v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->GIF:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    iput-object v1, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->a:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    .line 21
    iput v3, v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$j;->b:I

    .line 22
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->o:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method static synthetic n(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->f:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic o(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->I()V

    return-void
.end method

.method static synthetic p(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->x()V

    return-void
.end method

.method private q()V
    .locals 4

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->t:Landroid/view/LayoutInflater;

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v1, Les/x4;->durec_picture_list_share:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->d:Landroid/widget/TextView;

    .line 4
    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v1, Les/x4;->durec_picture_list_delete:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->e:Landroid/widget/TextView;

    .line 6
    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v1, Les/x4;->durec_picture_list_stitch:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->f:Landroid/widget/TextView;

    .line 8
    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 9
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->G()V

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v1, Les/x4;->durec_loading_vew:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->g:Landroid/view/View;

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->i()V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    sget v1, Les/x4;->durec_picture_list_recycle_view:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/recyclerview/widget/RecyclerView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    .line 13
    new-instance v0, Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v1

    const/4 v2, 0x3

    invoke-direct {v0, v1, v2}, Landroidx/recyclerview/widget/GridLayoutManager;-><init>(Landroid/content/Context;I)V

    .line 14
    new-instance v1, Lcom/esfile/screen/recorder/picture/PictureListFragment$m;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$m;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanSizeLookup(Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;)V

    .line 15
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setItemAnimator(Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;)V

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    new-instance v1, Lcom/esfile/screen/recorder/picture/PictureListFragment$k;

    iget v3, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->r:I

    invoke-direct {v1, p0, v3, v2}, Lcom/esfile/screen/recorder/picture/PictureListFragment$k;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;II)V

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->addItemDecoration(Landroidx/recyclerview/widget/RecyclerView$ItemDecoration;)V

    return-void
.end method

.method static synthetic q(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->F()V

    return-void
.end method

.method static synthetic r(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    return-object p0
.end method

.method private r()Z
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    .line 3
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 4
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/provider/entity/ImageInfo;->c()Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    move-result-object v1

    sget-object v2, Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;->GIF:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    if-ne v1, v2, :cond_0

    const/4 v0, 0x1

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method static synthetic s(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m()V

    return-void
.end method

.method static synthetic t(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Lcom/esfile/screen/recorder/picture/PictureListFragment$l;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->k:Lcom/esfile/screen/recorder/picture/PictureListFragment$l;

    return-object p0
.end method

.method private t()V
    .locals 1

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$e;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment$e;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic u(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Landroidx/recyclerview/widget/RecyclerView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->j:Landroidx/recyclerview/widget/RecyclerView;

    return-object p0
.end method

.method private u()V
    .locals 0

    return-void
.end method

.method static synthetic v(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m:Ljava/util/ArrayList;

    return-object p0
.end method

.method private v()V
    .locals 0

    return-void
.end method

.method static synthetic w(Lcom/esfile/screen/recorder/picture/PictureListFragment;)Landroid/view/LayoutInflater;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->t:Landroid/view/LayoutInflater;

    return-object p0
.end method

.method private w()V
    .locals 0

    return-void
.end method

.method private x()V
    .locals 0

    return-void
.end method

.method private y()V
    .locals 0

    return-void
.end method

.method private z()V
    .locals 0

    return-void
.end method


# virtual methods
.method public synthetic a(Landroid/view/View;)V
    .locals 3

    .line 26
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object p1

    sget-object v0, Lcom/esfile/screen/recorder/andpermission/d;->c:[Ljava/lang/String;

    invoke-static {p1, v0}, Lcom/esfile/screen/recorder/andpermission/b;->b(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 27
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Les/y5;->b(Landroid/content/Context;)V

    goto :goto_0

    .line 28
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object p1

    const/4 v0, 0x0

    sget-object v1, Lcom/esfile/screen/recorder/andpermission/d;->c:[Ljava/lang/String;

    const-string v2, "local_picture"

    invoke-static {p1, v0, v2, v1}, Les/y5;->e(Landroid/content/Context;Les/y5$a;Ljava/lang/String;[Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public synthetic f()V
    .locals 3

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    sget-object v1, Lcom/esfile/screen/recorder/andpermission/d;->c:[Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/andpermission/b;->b(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/picture/l;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/l;-><init>(Lcom/esfile/screen/recorder/picture/PictureListFragment;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    return-void

    .line 4
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Les/lb;->a(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    .line 6
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/provider/entity/a;

    .line 7
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l:Ljava/util/ArrayList;

    invoke-static {v1}, Les/kb;->a(Lcom/esfile/screen/recorder/provider/entity/a;)Lcom/esfile/screen/recorder/provider/entity/ImageInfo;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 8
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->m()V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->s:Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->a(Lcom/esfile/screen/recorder/provider/entity/ImageInfo$Type;)V

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->H()V

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->G()V

    return-void
.end method

.method public synthetic g()V
    .locals 1

    .line 2
    sget-object v0, Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;->NO_PERMISSION:Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->a(Lcom/esfile/screen/recorder/picture/PictureListFragment$UIState;)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->d:Landroid/widget/TextView;

    const/4 v1, 0x0

    if-ne p1, v0, :cond_1

    .line 2
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-lez p1, :cond_0

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->C()V

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object p1

    sget v0, Les/z4;->durec_picture_share_enable:I

    invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    .line 5
    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->e:Landroid/widget/TextView;

    if-ne p1, v0, :cond_3

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-lez p1, :cond_2

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->D()V

    goto :goto_0

    .line 9
    :cond_2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object p1

    sget v0, Les/z4;->durec_picture_share_enable:I

    invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    .line 10
    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 11
    :cond_3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->f:Landroid/widget/TextView;

    if-ne p1, v0, :cond_6

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->n:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    const/4 v0, 0x1

    if-le p1, v0, :cond_5

    .line 13
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->r()Z

    move-result p1

    if-nez p1, :cond_4

    .line 14
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->E()V

    goto :goto_0

    .line 15
    :cond_4
    sget p1, Les/z4;->durec_cannot_stitch_gifs:I

    invoke-static {p1}, Les/ec;->b(I)V

    goto :goto_0

    .line 16
    :cond_5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object p1

    sget v0, Les/z4;->durec_picture_stitch_enable:I

    invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    .line 17
    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    :cond_6
    :goto_0
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 2

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/base/BaseFragment;->onCreate(Landroid/os/Bundle;)V

    .line 2
    new-instance p1, Landroid/content/IntentFilter;

    invoke-direct {p1}, Landroid/content/IntentFilter;-><init>()V

    const-string v0, "com.esfile.screen.recorder.action.CLEAR_BTN_STATE"

    .line 3
    invoke-virtual {p1, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v0, "com.esfile.screen.recorder.action.ADD_NEW_IMAGE"

    .line 4
    invoke-virtual {p1, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v0, "com.esfile.screen.recorder.action.REMOVE_IMAGE"

    .line 5
    invoke-virtual {p1, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v0, "action_storage_permission_granted"

    .line 6
    invoke-virtual {p1, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 7
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->getInstance(Landroid/content/Context;)Landroidx/localbroadcastmanager/content/LocalBroadcastManager;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->u:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1, p1}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 0
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .line 1
    iget-object p2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    if-nez p2, :cond_0

    .line 2
    sget p2, Les/y4;->durec_picture_list:I

    const/4 p3, 0x0

    invoke-virtual {p1, p2, p3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->q()V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureListFragment;->l()V

    .line 5
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object p1

    check-cast p1, Landroid/view/ViewGroup;

    if-eqz p1, :cond_1

    .line 6
    iget-object p2, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    .line 7
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->c:Landroid/view/View;

    return-object p1
.end method

.method public onDestroy()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->getInstance(Landroid/content/Context;)Landroidx/localbroadcastmanager/content/LocalBroadcastManager;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureListFragment;->u:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    .line 2
    invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDestroy()V

    return-void
.end method
